From: LLVM Packaging Team Date: Mon, 31 Jul 2023 20:16:10 +0000 (+0100) Subject: protobuf_llvm_13.0.1-8 X-Git-Tag: archive/raspbian/1%13.0.1-13+rpi1^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=e9a06ea84fd7bdcb24c3467aabf1989ade8c793a;p=llvm-toolchain-13.git protobuf_llvm_13.0.1-8 Gbp-Pq: Name protobuf_llvm_13.0.1-8.patch --- diff --git a/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp b/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp index 96451f7764..7d06928c2d 100644 --- a/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp +++ b/clang-tools-extra/clangd/index/remote/monitor/Monitor.cpp @@ -66,9 +66,8 @@ int main(int argc, char *argv[]) { const auto JsonStatus = google::protobuf::util::MessageToJsonString(Response, &Output, Options); if (!JsonStatus.ok()) { - clang::clangd::elog("Can not convert response ({0}) to JSON ({1}): {2}\n", - Response.DebugString(), JsonStatus.error_code(), - JsonStatus.error_message().as_string()); + clang::clangd::elog("Can not convert response ({0}) to JSON: {1}\n", + Response.DebugString(), JsonStatus.ToString()); return -1; } llvm::outs() << Output;